using EnvDTE;
using NUnitGenAddIn.Core.Test;

namespace NUnitGenAddIn.VS2008.Test
{
    /// <summary>
    /// Mock Code Element 2008
    /// </summary>
    public class MockCodeElement2008 : MockCodeElement
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="MockCodeElement2008"/> class.
        /// </summary>
        /// <param name="name">The name.</param>
        public MockCodeElement2008(string name) : base(name)
        {}

        /// <summary>
        /// Initializes a new instance of the <see cref="MockCodeElement2008"/> class.
        /// </summary>
        /// <param name="name">The name.</param>
        /// <param name="children">The children.</param>
        public MockCodeElement2008(string name, CodeElements children)
            : base(name, children)
        {}

        /// <summary>
        /// Gets the children.
        /// </summary>
        /// <value>The children.</value>
        public override CodeElements Children
        {
            get { return children; }
        }
    }
}